/*
 * Broom.h
 *
 *  Created on: Jul 13, 2009
 *      Author: scott
 */

#ifndef BROOM_H_
#define BROOM_H_

#include <ode/ode.h>

#include "Weapon.h"
#include "World.h"

class Broom: public Weapon {
private:
	dBodyID body;
	dGeomID sphere;
	int type;
	World * world;
public:
	Broom(World * world, SceneGraphNode * parent = NULL, bool ownsChildren = false);
	virtual ~Broom();

	virtual void switchTo();
	virtual void use();
	virtual void switchFrom();

	virtual void update();
};

#endif /* BROOM_H_ */
